package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: TaskStagesTemplateMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-21
 * @Version: 1.0
 * Table: pear_task_stages_template
 * Comment:
 * 任务列表模板表
 */
public interface TaskStagesTemplateMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(TaskStagesTemplateExample example);

    int insert(TaskStagesTemplateWithBLOBs record);

    int insertSelective(TaskStagesTemplateWithBLOBs record);

    List<TaskStagesTemplateWithBLOBs> selectByExampleWithBLOBs(TaskStagesTemplateExample example);

    List<TaskStagesTemplate> selectByExample(TaskStagesTemplateExample example);

    int countByExample(TaskStagesTemplateExample example);

    TaskStagesTemplate selectByPrimaryKey(Integer id);

    TaskStagesTemplateWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    TaskStagesTemplate selectById(Integer id);

    TaskStagesTemplateWithBLOBs selectByIdWithBLOBs(Integer id);

    TaskStagesTemplate selectByCode(String code);

    TaskStagesTemplateWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") TaskStagesTemplateWithBLOBs record, @Param("example") TaskStagesTemplateExample example);

    int updateByPrimaryKeySelective(TaskStagesTemplateWithBLOBs record);

    int updateByIdSelective(TaskStagesTemplateWithBLOBs record);

    int updateByCodeSelective(TaskStagesTemplateWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TaskStagesTemplateWithBLOBs record);

    int updateByPrimaryKey(TaskStagesTemplate record);

    int updateById(TaskStagesTemplate record);

    int updateByIdWithBLOBs(TaskStagesTemplateWithBLOBs record);

}
